From: Florian Eckert Date: Fri, 10 May 2024 07:33:28 +0000 (+0200) Subject: luci-app-keepalived: fix copy past error for the debug option X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=61e7e121dcb3afb18596add0488e98da134ebd45;p=project%2Fluci.git luci-app-keepalived: fix copy past error for the debug option The 'debug' configuration option in the LuCI incorrectly overwrites the 'preempt_delay' configuration option due to a copy past error. Using the correct uci configuration option 'debug' fixes this error. Signed-off-by: Florian Eckert --- diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js index c6db62d2b1..f9f92f57f5 100644 --- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js +++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js @@ -218,7 +218,7 @@ return view.extend({ o.placeholder = '300'; o.modalonly = true; - o = s.taboption('advanced', form.ListValue, 'preempt_delay', _('Debug'), + o = s.taboption('advanced', form.ListValue, 'debug', _('Debug'), _('Debug Level')); o.default = '0'; o.value('0');